<template>

    <!-- Header -->
    <div class="header">
        勤工俭学管理系统
    </div>

    <!-- Main Content -->
    <div class="container">
        <!-- 卡片内容 -->
        <div class="card">
            <h2>总工时</h2>
            <p>累计工作时间</p>
            <div class="data">1234小时</div>
        </div>

        <div class="card">
            <h2>总薪资</h2>
            <p>累计薪资发放</p>
            <div class="data">$10,500</div>
        </div>

        <div class="card">
            <h2>学生人数</h2>
            <p>参与勤工俭学的学生总数</p>
            <div class="data">56人</div>
        </div>

        <div class="card">
            <h2>待处理任务</h2>
            <p>当前待分配任务数</p>
            <div class="data">8个</div>
        </div>

        <div class="card">
            <h2>项目总数</h2>
            <p>所有进行中的项目</p>
            <div class="data">12个</div>
        </div>
       

    </div>
</template>

<style>
/* Header */
.header {
    background-color: #ffffff;
    padding: 40px 30px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 1px solid #e8e8e8;
    color: #333333;
    margin-top: 60px;
    margin-right: 40px;
    transition: margin-left 0.3s ease;
}

/* Main Container */
.container {
    padding: 30px;
    margin-right: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex-grow: 1;
    transition: margin-left 0.3s ease;
}

/* 卡片样式 */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333333;
}

.card p {
    font-size: 18px;
    color: #666666;
}

.card .data {
    font-size: 24px;
    font-weight: bold;
    color: #4A90E2;
    margin-top: 10px;
}
</style>